package com.tjcd.project.library_base.base.easyhttpnet;

import androidx.annotation.NonNull;

import com.hjq.http.EasyConfig;
import com.hjq.http.config.IRequestServer;

/**
 * @Author jiangKunKun
 * @CreateDate 2024/9/27
 * @Description
 * @SpittingGrooves
 */
public class H5Server implements IRequestServer {
    @NonNull
    @Override
    public String getHost() {
        IRequestServer server = EasyConfig.getInstance().getServer();
        if (server instanceof RequestServer) {
            return "https://www.test.h5.xxxxxxx.com/";
        }
        return "https://www.h5.xxxxxxx.com/";
    }
    /**
     * public final class UserAgreementApi extends H5Server implements IRequestApi{}
     */
}
